<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/masterpage3.master" CodeFile="ReporteOrdenCompra.aspx.cs" Inherits="ReporteOrdenCompra" EnableEventValidation="false" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<%@ Register Assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>

<asp:Content ContentPlaceHolderID="ContentPlaceHolder1" ID="C_ReporteOrdenCompra" runat="server">
<fieldset>
<legend>Reporte Orden Compra</legend>
    <table>
        <tr>
            <td style="width: 6px">
                <asp:Label ID="lb_empresa" runat="server" CssClass="label" Text="Empresa:"></asp:Label></td>
            <td>
                <asp:TextBox ID="tb_empresa" runat="server" CssClass="textBoxLetras, textBox30" MaxLength="30"></asp:TextBox></td>
            <td style="width: 28px">
            </td>
            <td>
                <asp:Label ID="lb_Moneda" runat="server" CssClass="label" Text="Moneda:"></asp:Label></td>
            <td>
                <asp:TextBox ID="tb_moneda" runat="server" CssClass="textBoxLetras, textBox20" MaxLength="20"></asp:TextBox></td>
            <td style="width: 28px">
            </td>
            <td>
                <asp:Label ID="lb_estado" runat="server" CssClass="label" Text="Estado:"></asp:Label></td>
            <td>
                <asp:TextBox ID="tb_estado" runat="server" CssClass="textBoxLetras, textBox3" MaxLength="1"></asp:TextBox></td>
            <td>
            </td>
        </tr>
        <tr>
            <td style="width: 6px">
                <asp:Label ID="lb_producto" runat="server" CssClass="label" Text="Producto:"></asp:Label></td>
            <td>
                <asp:TextBox ID="tb_producto" runat="server" CssClass="textBoxLetras, textBox30"
                    MaxLength="30"></asp:TextBox></td>
            <td style="width: 28px">
            </td>
            <td>
                <asp:Label ID="lb_marca" runat="server" CssClass="label" Text="Marca:"></asp:Label></td>
            <td>
                <asp:TextBox ID="tb_marca" runat="server" CssClass="textBoxLetras, textBox20" MaxLength="20"></asp:TextBox></td>
            <td style="width: 28px">
            </td>
            <td>
                <asp:Label ID="tb_modelo" runat="server" CssClass="label" Text="Modelo:"></asp:Label></td>
            <td>
                <asp:TextBox ID="tb_modelos" runat="server" CssClass="textBoxLetras, textBox20" MaxLength="20"></asp:TextBox></td>
            <td>
            </td>
        </tr>
        <tr>
            <td style="width: 6px">
            </td>
            <td>
            </td>
            <td style="width: 28px">
            </td>
            <td>
            </td>
            <td>
            </td>
            <td style="width: 28px">
            </td>
            <td>
            </td>
            <td class="derecha">
                <asp:ImageButton ID="ib_reporte" runat="server" CssClass="tamanhoBoton" ImageUrl="~/imagen/lupa.png"
                    OnClick="ib_reporte_Click" ToolTip="Generar Reporte" /><asp:ImageButton ID="ib_cancelarReporte"
                        runat="server" CssClass="tamanhoBoton" ImageUrl="~/imagen/cancel.png"
                        ToolTip="Cancelar" OnClick="ib_cancelarReporte_Click1" /></td>
            <td>
            </td>
        </tr>
        <tr>
            <td colspan="7">
            </td>
            <td class="derecha">
            </td>
            <td>
            </td>
        </tr>
    </table>
    <cc1:FilteredTextBoxExtender ID="ftbe_empresa" runat="server" FilterType="LowercaseLetters, UppercaseLetters, Custom"
        TargetControlID="tb_empresa" ValidChars=" &-">
    </cc1:FilteredTextBoxExtender>
    <cc1:FilteredTextBoxExtender ID="ftbe_producto" runat="server" FilterType="LowercaseLetters, UppercaseLetters, Custom"
        TargetControlID="tb_producto" ValidChars=" ">
    </cc1:FilteredTextBoxExtender>
    <cc1:FilteredTextBoxExtender ID="ftbe_monedas" runat="server" FilterType="LowercaseLetters, UppercaseLetters, Custom"
        TargetControlID="tb_moneda" ValidChars=" ">
    </cc1:FilteredTextBoxExtender>
    <cc1:FilteredTextBoxExtender ID="ftbe_modelo" runat="server" FilterType="LowercaseLetters, UppercaseLetters, Numbers, Custom"
        TargetControlID="tb_modelos" ValidChars=" -&">
    </cc1:FilteredTextBoxExtender>
    <cc1:FilteredTextBoxExtender ID="ftbe_marca" runat="server" FilterType="LowercaseLetters, UppercaseLetters, Custom"
        TargetControlID="tb_marca" ValidChars=" -">
    </cc1:FilteredTextBoxExtender>
    <cc1:FilteredTextBoxExtender ID="ftbe_estado" runat="server" FilterType="LowercaseLetters, UppercaseLetters"
        TargetControlID="tb_estado">
    </cc1:FilteredTextBoxExtender>
</fieldset>

<fieldset class="centro">
<legend>Reporte</legend>
    <table>
        <tr>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <CR:CrystalReportViewer ID="Reporte_Ordenes_Compras" runat="server" AutoDataBind="true"
                    DisplayGroupTree="False" ReportSourceID="CrystalReportSource_OrdenCompra" />
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <CR:CrystalReportSource ID="CrystalReportSource_OrdenCompra" runat="server">
                    <Report FileName="Reportes\ReporteOrdenCompra.rpt">
                    </Report>
                </CR:CrystalReportSource>
            </td>
        </tr>
    </table>


</fieldset>

</asp:Content>